Release 10.1A: OpenEdge Development:
Progress 4GL Reference
KEYLABEL function
Evaluates a key code (such as 301) and returns a character string that is the predefined keyboard label for that key (such as F1).
Note: Does not apply to SpeedScript programming.Syntax
key-codeThe key code of the key whose label you want to know. A special case of
Examplekey-codeis LASTKEY. See OpenEdge Development: Programming Interfaces for a list of key codes and key labels.This procedure reads each keystroke the user makes, leaving the procedure only when the user presses GO. The KEYLABEL function tests the LASTKEY pressed, and returns the label of the key. (Remember that the value in LASTKEY is the key code of the last key pressed.)
Note
Some key codes can be associated with more than one key label. The KEYLABEL function always returns the label listed first in the Progress table of key labels.
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |